<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>历史审批记录</title>
<link rel="stylesheet" href="${ctx }/resources/layui/css/layui.css" media="all" />
<link rel="stylesheet" href="${ctx }/resources/css/public.css" media="all" />
<link rel="stylesheet" href="${ctx }/resources/zTree/css/metroStyle/metroStyle.css" type="text/css">
<link rel="stylesheet" type="text/css" href="${ctx }/resources/plugin/css/index.css">
<link rel="stylesheet" href="${ctx }/resources/layui/css/layui.css" media="all">
</head>
<body class="childrenBody">
	<table id="hisProcessList" lay-filter="hisProcessList"></table>
</body>
<script type="text/javascript" src="${ctx }/resources/layui/layui.js"></script>
<script type="text/javascript">
layui.use([ 'form','jquery','layer','table' ], function() {
	var form=layui.form;//得到form对象
	var $=layui.jquery;
	var table=layui.table;
	var layer = parent.layer === undefined ? layui.layer : parent.layer;
	
	//加载批注信息列表
    var tableIns = table.render({
        elem: '#hisProcessList',
        url : '${ctx}/workFlow/queryHistoryTaskByAssignee.action?assignee=${workFlow.assignee}',
        cellMinWidth : 95,
        toolbar: 'true',
        height : "full-225",
        defaultToolbar: ['filter'],
        id : "hisProcessListTable",
        cols : [[
            {type: "checkbox", fixed:"left", minwidth:50},
            {field: 'name', title: '名称', minWidth:100, align:"center"},
            {field: 'description', title: '描述', minWidth:100, align:"center"},
            {field: 'owner', title: '任务所属人', minWidth:100, align:"center"},
            {field: 'assignee', title: '办理人', minWidth:100, align:"center"},
            {field: 'taskDefinitionKey', title: '任务定义key', minWidth:100, align:"center"},
            {field: 'dueDate', title: '时间', minWidth:100, align:"center"},
            {field: 'claimTime', title: '时间', minWidth:100, align:"center"}
        ]]
    });
	
});	

</script>
</html>